//-----------------------------------------------------------------------
// <copyright file="a_eCard_MsgBase.cs" company="AACECOM">
//     Copyright (c) AACECOM. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace ThoiTrang.Entities
{
	[Serializable]
	public class a_eCard_MsgBase
	{
		
		#region Variable Declarations
		private int				msgID = 0;
		private int				accessCode = 0;
		private int				userID = 0;
		private string				fromName = string.Empty;
		private string				fromEmail = string.Empty;
		private string				toName = string.Empty;
		private string				toEmail = string.Empty;
		private string				msgHeading = string.Empty;
		private string				msgText = string.Empty;
		private string				imageName = string.Empty;
		private string				soundName = string.Empty;
		private byte				layout = 0;
		private byte				style = 0;
		private bool				isNotifySender = false;
		private string				articleBackLink = string.Empty;
		private DateTime				dateCreated = new DateTime(1900,1,1,0,0,0,0);
		private DateTime				dateExpire = new DateTime(1900,1,1,0,0,0,0);
		#endregion
		
		#region Constructors
		public a_eCard_MsgBase() {}
		
		public a_eCard_MsgBase (
			int msgID,
			int accessCode,
			int userID,
			string fromName,
			string fromEmail,
			string toName,
			string toEmail,
			string msgHeading,
			string msgText,
			string imageName,
			string soundName,
			byte layout,
			byte style,
			bool isNotifySender,
			string articleBackLink,
			DateTime dateCreated,
			DateTime dateExpire)
		
		{
			this.msgID = msgID;
			this.accessCode = accessCode;
			this.userID = userID;
			this.fromName = fromName;
			this.fromEmail = fromEmail;
			this.toName = toName;
			this.toEmail = toEmail;
			this.msgHeading = msgHeading;
			this.msgText = msgText;
			this.imageName = imageName;
			this.soundName = soundName;
			this.layout = layout;
			this.style = style;
			this.isNotifySender = isNotifySender;
			this.articleBackLink = articleBackLink;
			this.dateCreated = dateCreated;
			this.dateExpire = dateExpire;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int MsgID
		{
			get { return msgID; }
			set { msgID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int AccessCode
		{
			get { return accessCode; }
			set { accessCode = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int UserID
		{
			get { return userID; }
			set { userID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string FromName
		{
			get { return fromName; }
			set { fromName = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string FromEmail
		{
			get { return fromEmail; }
			set { fromEmail = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string ToName
		{
			get { return toName; }
			set { toName = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string ToEmail
		{
			get { return toEmail; }
			set { toEmail = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string MsgHeading
		{
			get { return msgHeading; }
			set { msgHeading = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string MsgText
		{
			get { return msgText; }
			set { msgText = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string ImageName
		{
			get { return imageName; }
			set { imageName = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string SoundName
		{
			get { return soundName; }
			set { soundName = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is tinyint</value>
		public byte Layout
		{
			get { return layout; }
			set { layout = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is tinyint</value>
		public byte Style
		{
			get { return style; }
			set { style = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool IsNotifySender
		{
			get { return isNotifySender; }
			set { isNotifySender = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string ArticleBackLink
		{
			get { return articleBackLink; }
			set { articleBackLink = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime DateCreated
		{
			get { return dateCreated; }
			set { dateCreated = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime DateExpire
		{
			get { return dateExpire; }
			set { dateExpire = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum a_eCard_MsgColumns
	{
		MsgID,
		AccessCode,
		UserID,
		FromName,
		FromEmail,
		ToName,
		ToEmail,
		MsgHeading,
		MsgText,
		ImageName,
		SoundName,
		Layout,
		Style,
		IsNotifySender,
		ArticleBackLink,
		DateCreated,
		DateExpire
	}//End enum
}